package org.kotboot.domain;

import org.kotboot.domainext.ExtBase;
import org.kotboot.domainext.ExtRemark;
import org.kotboot.enums.BoolState;
import org.kotboot.kit.K;

import javax.persistence.Table;

/**
 * Created by jisong.sun on 2017/7/5.
 */
@Table(name = "ms_dict")
public class Dict extends ExtRemark {
    private String k;
    private String v;
    private BoolState state;

    public String getK() {
        return k;
    }

    public void setK(String k) {
        this.k = k;
    }

    public String getV() {
        return v;
    }

    public void setV(String v) {
        this.v = v;
    }

    public BoolState getState() {
        return state;
    }

    public void setState(BoolState state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return K.toJson(this);
    }
}
